package kxfang.com.common.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by ZJ
 * on 2020/3/27
 * Class Content 店铺详情实体类
 */
public class StoreDetailModel implements Parcelable {


    /**
     * StoreClass : 0
     * StoreClassName : string
     * ID : string
     * Logo : string
     * StoreName : string
     * StarNum : 0
     * Label : string
     * BusinessAddress : string
     * StoreHead : string
     * LicenseUrl : string
     * HealthUrl : string
     * MainTypes : string
     * BusinessTime : string
     * CMemo : string
     * Statu : 0
     * envirImgList : ["string"]
     * Phone : string
     * isgz : 0
     * ServerPromise : string
     * DiscountInfo : string
     * Distributionfee : 0
     * DistributionfeeStr : string
     * DistributionArea : string
     * Distributiontype : string
     * PayType : string
     * GoodsClass : [{"ID":0,"ClassName":"string","Label":"string","ClassUrl":"string","Statu":0,"CType":0,"CMemo":"string","RUserID":0,"StoreID":"string","ShowOrder":0,"GoodsNum":0}]
     * AdverPicList : [{"PicUrl":"string","Url":"string","Description":"string"}]
     * GoodsList : [{"ID":"string","CoverUrl":"string","Title":"string","IPrice":0,"DisCountPrice":0,"DisCountNum":0,"Statu":0,"CreateTime":"string","ClassID":0,"LimitCount":0,"StoreID":"string","Num":0,"ShopCartID":"string","MonthSaleNum":0,"StarNum":0,"Distributionfee":0,"DistributionfeeStr":"string","StartPrice":0,"HeadUrl":"string","StoreName":"string","SaleCount":0,"Distance":0}]
     * StartPrice : 0
     * Num : 0
     * UserGoodsList : [{"ID":"string","CoverUrl":"string","Title":"string","IPrice":0,"DisCountPrice":0,"DisCountNum":0,"Statu":0,"CreateTime":"string","ClassID":0,"LimitCount":0,"StoreID":"string","Num":0,"ShopCartID":"string","MonthSaleNum":0,"StarNum":0,"Distributionfee":0,"DistributionfeeStr":"string","StartPrice":0,"HeadUrl":"string","StoreName":"string","SaleCount":0,"Distance":0}]
     * IndustryValue : 0
     * SaleCount : 0
     * ShareTitle : string
     * ShareImg : string
     * ShareDesc : string
     * url : string
     */

    private int StoreClass;
    private String StoreClassName;
    private String ID;
    private String Logo;
    private String StoreName;
    private int StarNum;
    private String Label;
    private String BusinessAddress;
    private String StoreHead;
    private String LicenseUrl;
    private String HealthUrl;
    private String MainTypes;
    private String BusinessTime;
    private String CMemo;
    private int Statu;
    private String ContractPhone;
    private String Phone;
    private int isgz;
    private String ServerPromise;
    private String DiscountInfo;
    private String ReduceDiscount;
    private double Distributionfee;
    private String DistributionfeeStr;
    private String DistributionArea;
    private String Distributiontype;
    private String PayType;
    private String StartPrice;
    private int Num;
    private int IndustryValue;
    private int SaleCount;
    private String ShareTitle;
    private String ShareImg;
    private String ShareDesc;
    private String url;
    private String StoreFormPic;
    private String Notice;
    private List<String> envirImgList;
    private List<ClassifyType> GoodsClass;
    private List<AdverPicListBean> AdverPicList;
    private List<GoodsDetailModel> GoodsList;
    private List<GoodsDetailModel> UserGoodsList;
    private String DeliveryTime;
    private int IsAuto;
    private String Lat;
    private String Lng;
    private int BusinessStatus;
    private String StartingPrice;
    private String NightStartPrice;
    private String OnlyStartPrice;
    private String AreaName;
    private String AvgConsum;
    private String BusinessName;

    protected StoreDetailModel(Parcel in) {
        StoreClass = in.readInt();
        StoreClassName = in.readString();
        ID = in.readString();
        Logo = in.readString();
        StoreName = in.readString();
        StarNum = in.readInt();
        Label = in.readString();
        BusinessAddress = in.readString();
        StoreHead = in.readString();
        LicenseUrl = in.readString();
        HealthUrl = in.readString();
        MainTypes = in.readString();
        BusinessTime = in.readString();
        CMemo = in.readString();
        Statu = in.readInt();
        ContractPhone = in.readString();
        isgz = in.readInt();
        ServerPromise = in.readString();
        DiscountInfo = in.readString();
        ReduceDiscount= in.readString();
        Distributionfee = in.readDouble();
        DistributionfeeStr = in.readString();
        DistributionArea = in.readString();
        Distributiontype = in.readString();
        PayType = in.readString();
        StartPrice = in.readString();
        Num = in.readInt();
        IndustryValue = in.readInt();
        SaleCount = in.readInt();
        ShareTitle = in.readString();
        ShareImg = in.readString();
        ShareDesc = in.readString();
        url = in.readString();
        envirImgList = in.createStringArrayList();
        StoreFormPic = in.readString();
        Notice = in.readString();
        DeliveryTime = in.readString();
        Phone = in.readString();
        IsAuto = in.readInt();
        Lat = in.readString();
        Lng = in.readString();
        BusinessStatus = in.readInt();
        StartingPrice = in.readString();
        NightStartPrice = in.readString();
        OnlyStartPrice = in.readString();
        AreaName = in.readString();
        AvgConsum = in.readString();
        BusinessName = in.readString();
    }

    public static final Creator<StoreDetailModel> CREATOR = new Creator<StoreDetailModel>() {
        @Override
        public StoreDetailModel createFromParcel(Parcel in) {
            return new StoreDetailModel(in);
        }

        @Override
        public StoreDetailModel[] newArray(int size) {
            return new StoreDetailModel[size];
        }
    };

    public String getBusinessName() {
        return BusinessName;
    }

    public void setBusinessName(String businessName) {
        BusinessName = businessName;
    }

    public String getAreaName() {
        return AreaName;
    }

    public void setAreaName(String areaName) {
        AreaName = areaName;
    }

    public String getAvgConsum() {
        return AvgConsum;
    }

    public void setAvgConsum(String avgConsum) {
        AvgConsum = avgConsum;
    }

    public String getOnlyStartPrice() {
        return OnlyStartPrice;
    }

    public void setOnlyStartPrice(String onlyStartPrice) {
        OnlyStartPrice = onlyStartPrice;
    }

    public String getNightStartPrice() {
        return NightStartPrice;
    }

    public void setNightStartPrice(String nightStartPrice) {
        NightStartPrice = nightStartPrice;
    }

    public String getStartingPrice() {
        return StartingPrice;
    }

    public void setStartingPrice(String startingPrice) {
        StartingPrice = startingPrice;
    }

    public int getBusinessStatus() {
        return BusinessStatus;
    }

    public void setBusinessStatus(int businessStatus) {
        BusinessStatus = businessStatus;
    }

    public String getLat() {
        return Lat;
    }

    public void setLat(String lat) {
        Lat = lat;
    }

    public String getLng() {
        return Lng;
    }

    public void setLng(String lng) {
        Lng = lng;
    }

    public int getIsAuto() {
        return IsAuto;
    }

    public void setIsAuto(int isAuto) {
        IsAuto = isAuto;
    }

    public String getContractPhone() {
        return Phone;
    }

    public void setContractPhone(String contractPhone) {
        Phone = contractPhone;
    }

    public String getDeliveryTime() {
        return DeliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        DeliveryTime = deliveryTime;
    }

    public int getStoreClass() {
        return StoreClass;
    }

    public void setStoreClass(int StoreClass) {
        this.StoreClass = StoreClass;
    }

    public String getStoreClassName() {
        return StoreClassName;
    }

    public void setStoreClassName(String StoreClassName) {
        this.StoreClassName = StoreClassName;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getLogo() {
        return Logo;
    }

    public void setLogo(String Logo) {
        this.Logo = Logo;
    }

    public String getStoreName() {
        return StoreName;
    }

    public void setStoreName(String StoreName) {
        this.StoreName = StoreName;
    }

    public int getStarNum() {
        return StarNum;
    }

    public void setStarNum(int StarNum) {
        this.StarNum = StarNum;
    }

    public String getLabel() {
        return Label;
    }

    public void setLabel(String Label) {
        this.Label = Label;
    }

    public String getBusinessAddress() {
        return BusinessAddress;
    }

    public void setBusinessAddress(String BusinessAddress) {
        this.BusinessAddress = BusinessAddress;
    }

    public String getStoreHead() {
        return StoreHead;
    }

    public void setStoreHead(String StoreHead) {
        this.StoreHead = StoreHead;
    }

    public String getLicenseUrl() {
        return LicenseUrl;
    }

    public void setLicenseUrl(String LicenseUrl) {
        this.LicenseUrl = LicenseUrl;
    }

    public String getHealthUrl() {
        return HealthUrl;
    }

    public void setHealthUrl(String HealthUrl) {
        this.HealthUrl = HealthUrl;
    }

    public String getMainTypes() {
        return MainTypes;
    }

    public void setMainTypes(String MainTypes) {
        this.MainTypes = MainTypes;
    }

    public String getBusinessTime() {
        return BusinessTime;
    }

    public void setBusinessTime(String BusinessTime) {
        this.BusinessTime = BusinessTime;
    }

    public String getCMemo() {
        return CMemo;
    }

    public void setCMemo(String CMemo) {
        this.CMemo = CMemo;
    }

    public int getStatu() {
        return Statu;
    }

    public void setStatu(int Statu) {
        this.Statu = Statu;
    }

    public String getPhone() {
        return ContractPhone;
    }

    public void setPhone(String Phone) {
        this.ContractPhone = Phone;
    }

    public int getIsgz() {
        return isgz;
    }

    public void setIsgz(int isgz) {
        this.isgz = isgz;
    }

    public String getServerPromise() {
        return ServerPromise;
    }

    public void setServerPromise(String ServerPromise) {
        this.ServerPromise = ServerPromise;
    }

    public String getDiscountInfo() {
        return DiscountInfo;
    }

    public void setDiscountInfo(String DiscountInfo) {
        this.DiscountInfo = DiscountInfo;
    }

    public String getReduceDiscount() {
        return ReduceDiscount;
    }

    public void setReduceDiscount(String reduceDiscount) {
        ReduceDiscount = reduceDiscount;
    }

    public double getDistributionfee() {
        return Distributionfee;
    }

    public void setDistributionfee(double Distributionfee) {
        this.Distributionfee = Distributionfee;
    }

    public String getDistributionfeeStr() {
        return DistributionfeeStr;
    }

    public void setDistributionfeeStr(String DistributionfeeStr) {
        this.DistributionfeeStr = DistributionfeeStr;
    }

    public String getDistributionArea() {
        return DistributionArea;
    }

    public void setDistributionArea(String DistributionArea) {
        this.DistributionArea = DistributionArea;
    }

    public String getDistributiontype() {
        return Distributiontype;
    }

    public void setDistributiontype(String Distributiontype) {
        this.Distributiontype = Distributiontype;
    }

    public String getPayType() {
        return PayType;
    }

    public void setPayType(String PayType) {
        this.PayType = PayType;
    }

    public String getStartPrice() {
        return StartPrice;
    }

    public void setStartPrice(String StartPrice) {
        this.StartPrice = StartPrice;
    }

    public int getNum() {
        return Num;
    }

    public void setNum(int Num) {
        this.Num = Num;
    }

    public int getIndustryValue() {
        return IndustryValue;
    }

    public void setIndustryValue(int IndustryValue) {
        this.IndustryValue = IndustryValue;
    }

    public int getSaleCount() {
        return SaleCount;
    }

    public void setSaleCount(int SaleCount) {
        this.SaleCount = SaleCount;
    }

    public String getShareTitle() {
        return ShareTitle;
    }

    public void setShareTitle(String ShareTitle) {
        this.ShareTitle = ShareTitle;
    }

    public String getShareImg() {
        return ShareImg;
    }

    public void setShareImg(String ShareImg) {
        this.ShareImg = ShareImg;
    }

    public String getShareDesc() {
        return ShareDesc;
    }

    public void setShareDesc(String ShareDesc) {
        this.ShareDesc = ShareDesc;
    }

    public String getUrl() {
        return url;
    }

    public String getStoreFormPic() {
        return StoreFormPic;
    }

    public void setStoreFormPic(String storeFormPic) {
        StoreFormPic = storeFormPic;
    }

    public String getNotice() {
        return Notice;
    }

    public void setNotice(String notice) {
        Notice = notice;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getEnvirImgList() {
        return envirImgList;
    }

    public void setEnvirImgList(List<String> envirImgList) {
        this.envirImgList = envirImgList;
    }

    public List<ClassifyType> getGoodsClass() {
        return GoodsClass;
    }

    public void setGoodsClass(List<ClassifyType> GoodsClass) {
        this.GoodsClass = GoodsClass;
    }

    public List<AdverPicListBean> getAdverPicList() {
        return AdverPicList;
    }

    public void setAdverPicList(List<AdverPicListBean> AdverPicList) {
        this.AdverPicList = AdverPicList;
    }

    public List<GoodsDetailModel> getGoodsList() {
        return GoodsList;
    }

    public void setGoodsList(List<GoodsDetailModel> GoodsList) {
        this.GoodsList = GoodsList;
    }

    public List<GoodsDetailModel> getUserGoodsList() {
        return UserGoodsList;
    }

    public void setUserGoodsList(List<GoodsDetailModel> UserGoodsList) {
        this.UserGoodsList = UserGoodsList;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(StoreClass);
        dest.writeString(StoreClassName);
        dest.writeString(ID);
        dest.writeString(Logo);
        dest.writeString(StoreName);
        dest.writeInt(StarNum);
        dest.writeString(Label);
        dest.writeString(BusinessAddress);
        dest.writeString(StoreHead);
        dest.writeString(LicenseUrl);
        dest.writeString(HealthUrl);
        dest.writeString(MainTypes);
        dest.writeString(BusinessTime);
        dest.writeString(CMemo);
        dest.writeInt(Statu);
        dest.writeString(ContractPhone);
        dest.writeInt(isgz);
        dest.writeString(ServerPromise);
        dest.writeString(DiscountInfo);
        dest.writeString(ReduceDiscount);
        dest.writeDouble(Distributionfee);
        dest.writeString(DistributionfeeStr);
        dest.writeString(DistributionArea);
        dest.writeString(Distributiontype);
        dest.writeString(PayType);
        dest.writeString(StartPrice);
        dest.writeInt(Num);
        dest.writeInt(IndustryValue);
        dest.writeInt(SaleCount);
        dest.writeString(ShareTitle);
        dest.writeString(ShareImg);
        dest.writeString(ShareDesc);
        dest.writeString(url);
        dest.writeStringList(envirImgList);
        dest.writeString(StoreFormPic);
        dest.writeString(Notice);
        dest.writeString(DeliveryTime);
        dest.writeInt(IsAuto);
        dest.writeString(Lat);
        dest.writeString(Lng);
        dest.writeInt(BusinessStatus);
        dest.writeString(StartingPrice);
        dest.writeString(NightStartPrice);
        dest.writeString(OnlyStartPrice);
        dest.writeString(AreaName);
        dest.writeString(AvgConsum);
        dest.writeString(BusinessName);
    }


    public static class AdverPicListBean {

        /**
         * ID : 58115bd5-1541-4823-b875-abca01165072
         * TableName : 17
         * TableId : 2004291941024126759287
         * Url : /qj/app/FStoreAdver/2004291941024126759287/20200529165318667.jpg
         * ImgList : null
         * UrlName : 店铺广告图
         * ShowOrder : 0
         * CreateTime : 2020-05-29T16:53:18.62
         */

        private String ID;
        private String TableName;
        private String TableId;
        private String Url;
        private List<String> ImgList;
        private String UrlName;
        private int ShowOrder;
        private String CreateTime;

        public String getID() {
            return ID;
        }

        public void setID(String ID) {
            this.ID = ID;
        }

        public String getTableName() {
            return TableName;
        }

        public void setTableName(String TableName) {
            this.TableName = TableName;
        }

        public String getTableId() {
            return TableId;
        }

        public void setTableId(String TableId) {
            this.TableId = TableId;
        }

        public String getUrl() {
            return Url;
        }

        public void setUrl(String Url) {
            this.Url = Url;
        }

        public List<String> getImgList() {
            return ImgList;
        }

        public void setImgList(List<String> ImgList) {
            this.ImgList = ImgList;
        }

        public String getUrlName() {
            return UrlName;
        }

        public void setUrlName(String UrlName) {
            this.UrlName = UrlName;
        }

        public int getShowOrder() {
            return ShowOrder;
        }

        public void setShowOrder(int ShowOrder) {
            this.ShowOrder = ShowOrder;
        }

        public String getCreateTime() {
            return CreateTime;
        }

        public void setCreateTime(String CreateTime) {
            this.CreateTime = CreateTime;
        }
    }


}
